package com.yunbiao.ybbusstopplate.play_sync;


import com.example.library_hy_advert.db.Advert;

/**
 * 文件传输实体
 */
public class ProgramFile {

    private String action;

    // 文件路径
    private String destPath;

    // 文件路径
    private String fileName;

    // 文件大小
//    public long size;

    private String data;

    // 0:开始传输，1传输中-1为结束传输标志
    private int flag;

 //   private Material material;

    private Advert advert;

    public ProgramFile(String action, String destPath, String fileName, String data, int flag, Advert advert) {
        this.action = action;
        this.destPath = destPath;
        this.fileName = fileName;
        this.data = data;
        this.flag = flag;
        this.advert = advert;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getDestPath() {
        return destPath;
    }

    public void setDestPath(String destPath) {
        this.destPath = destPath;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public Advert getAdvert() {
        return advert;
    }

    public void setAdvert(Advert advert) {
        this.advert = advert;
    }

}
